package com.ecoolex.chinadutyfree.retailer.core.dao;

import java.util.Date;

import org.apache.ibatis.annotations.Param;

import com.ecoolex.chinadutyfree.retailer.core.mapper.DirectMailGoodsOrderTotalDataMapper;
import com.ecoolex.chinadutyfree.retailer.entity.DirectMailGoodsOrderTotalData;

public interface DirectMailGoodsOrderTotalDataDAO extends DirectMailGoodsOrderTotalDataMapper {
	
	Long add(@Param("unpaid") String unpaid,
		@Param("paid") String paid,
		@Param("shipped") String shipped,
		@Param("complete") String complete,
		@Param("cancel") String cancel,
		@Param("autoCancel") String autoCancel,
		@Param("afterSales") String afterSales,
		@Param("close") String close,
		@Param("createUser") String createUser,
		@Param("createTime") Date createTime,
		@Param("updateUser") String updateUser,
		@Param("updateTime") Date updateTime,
		@Param("deleted") Boolean deleted);
	
	DirectMailGoodsOrderTotalData getLatest();
}